package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;


/**
 * @Description TODO <br/>
 * @author gjq
 * @date 2019/9/20 9:41
 * @param
 * @return
 */

@NoArgsConstructor
public enum MemberRankEnum implements IBaseEnum<Integer> {
    GENERAL(1,"普通会员"),
    SENIOR(2,"高级会员")
    ;
    private int value;
    private String desp;

    MemberRankEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

}
